<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="stylesheet" href="/static/mobile/css/amazeui.min.css">
    <link rel="stylesheet" href="/static/mobile/css/wap.css?2">
    <link rel="stylesheet" href="/static/mobile/css/index/index.css">
    <script src="/static/mobile/js/jquery-3.2.1.min.js"></script>
    <script src="/static/mobile/js/layui.js"></script>
    <link rel="stylesheet" href="/static/index/layui/css/layui.css">
    <script src="/static/admin/js/jquery-3.2.1.min.js"></script>
    <title>知之</title>
</head>
<body>
    <!--goTop-->
    <div data-am-widget="gotop" class="am-gotop am-gotop-fixed">
        <a href="#top" title="">
            <img class="am-gotop-icon-custom" src="/static/mobile/img/goTop.png" />
        </a>
    </div>

    <!--main-->
    <div class="pet_mian" id="top">
        <!--导航栏-->
        <header data-am-widget="header" class="am-header am-header-default" id="header">
            <div class="am-header-left am-header-nav">
                <a href="../phone" class="">
                    <span class="am-header-nav-title">
                        首页
                    </span>
                    <i class="am-header-icon am-icon-home"></i>
                </a>
            </div>
            <h1 class="am-header-title">
                知之
            </h1>
            <!--登录判断-->
            {if empty($userSession)}
            <div class="am-header-right am-header-nav">
                <a href="plogin" class="" title="登录">
                    <i class="am-header-icon am-icon-user"></i>
                </a>
                <a href="pregister" class="" title="注册">
                    <i class="am-header-icon am-icon-twitter"></i>
                </a>
            </div>
            {else}
            <div class="am-header-right am-header-nav">
                <a href="../pcenter" class="" title="个人中心">
                    <i class="am-header-icon am-icon-github"></i>
                </a>
            </div>
            {/if}
        </header>

        <!--内容栏-->
        <div class="pet_content_main">
            <div data-am-widget="list_news" class="am-list-news am-list-news-default" >
                <div class="am-list-news-bd">
                    <ul class="am-list">
                        <!--问题模块-->
                        <div id="a1">

                            <form class="layui-form am-form">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">标题</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                                <input type="hidden" name="userid" value="{$userSession['zz_id']}">

                                <div class="layui-form-item">
                                    <label class="layui-form-label">分类</label>
                                    <div class="layui-input-block">
                                        <select name="cid" lay-verify="required">
                                            <option value=""></option>
                                            {volist name="problemCate" id="pc"}
                                            <option value="{$pc['zz_cate_id']}">{$pc['zz_cate_name']}</option>
                                            {/volist}
                                        </select>
                                    </div>
                                </div>

                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">内容</label>
                                    <div class="layui-input-block">
                                        <textarea name="desc" placeholder="请输入内容" class="layui-textarea" style="resize: none"></textarea>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <button class="layui-btn" lay-submit lay-filter="formDemo" type="submit">提问</button>
                                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </ul>
                </div>
            </div>
        </div>

        <!--底部-->
        <div class="pet_article_dowload pet_dowload_more_top_off">
            <div class="pet_article_dowload_title">关于知之</div>
            <div class="pet_article_dowload_content pet_dowload_more_top_bg">
                <div class="pet_article_dowload_triangle pet_dowload_more_top_san"></div>
                <div class="pet_article_dowload_ico"><img src="/static/mobile/img/footdon.png" alt=""></div>
                <div class="pet_article_dowload_content_font">
                    Amaze UI 以移动优先（Mobile first）为理念，从小屏逐步扩展到大屏，最终实现所有屏幕适配，适应移动互联潮流。
                </div>
                <div class="pet_article_dowload_all">
                    <a href="###" class="pet_article_dowload_Az am-icon-apple"> App store</a>
                    <a href="###" class="pet_article_dowload_Pg am-icon-android"> Android</a>
                </div>
            </div>
            <div class="pet_article_footer_info">Copyright(c)2015 Amaze UI All Rights Reserved</div>
        </div>

    </div>
    <script src="/static/mobile/js/problem/problem.js"></script>
    <script src="/static/admin/lib/layui/layui.all.js"></script>
    <script src="/static/mobile/js/jquery.min.js"></script>
    <script src="/static/mobile/js/amazeui.min.js"></script>
    <script src="/static/mobile/js/index/index.js"></script>
</body>
</html>